<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
    protected $table='comment';
    protected $guarded=[];

    public function goods(){
        return $this->belongsTo('App\Model\Goods');
    }
    
    public function user(){
        return $this->belongsTo('App\Model\User');
    }
}
